package com.jic.order.mapper;

import java.lang.Long;
import java.util.List;

import com.jic.order.entity.OrderMerge;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

/**
 * 订单合单规则表
 * @author : 
 * @email : 
 * @since : 2020-09-14 11:43:48
 * @version : v1.0.0
 */
@Mapper
public interface  OrderMergeMapper {

    long insert(OrderMerge orderMerge);

    long editOrderMergeStatus(@Param("id") Long id);

    long delete(Long id);

    long update(OrderMerge orderMerge);

    OrderMerge queryByPrimaryKey(Long id);

    List<OrderMerge> query(OrderMerge orderMerge);

    List<OrderMerge> queryPage(@Param("startIndex") int startIndex, @Param("limit") int limit, @Param("orderMerge") OrderMerge orderMerge);

    long queryPageCount(OrderMerge orderMerge);
}